package com.simpleaccount.Graph;

import android.media.Image;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.simpleaccount.R;

/**
 * Created by Administrator on 2017/7/20.
 */

public class MyViewHolder {
    private TextView tvCategory;
    private TextView tvMoney;
    private TextView tvPercentage;
    private ImageView ivCategory;
    private ImageView ivArrow;

    public MyViewHolder(View itemView){
        tvCategory=(TextView)itemView.findViewById(R.id.tv_category);
        tvMoney=(TextView)itemView.findViewById(R.id.tv_money);
        tvPercentage=(TextView)itemView.findViewById(R.id.tv_percentage);
        ivArrow=(ImageView)itemView.findViewById(R.id.iv_arrow);
        ivCategory=(ImageView)itemView.findViewById(R.id.iv_category);
    }

    public TextView getTvCategory() {
        return tvCategory;
    }

    public TextView getTvMoney() {
        return tvMoney;
    }

    public TextView getTvPercentage() {
        return tvPercentage;
    }

    public ImageView getIvCategory() {
        return ivCategory;
    }

    public ImageView getIvArrow() {
        return ivArrow;
    }
}
